package jdbmaplite.mapper;

import java.io.Serializable;

public class Liternal implements Serializable {

	private static final long serialVersionUID = 1L;

	private String sql = null;

	/**
	 * Default constructor.
	 * 
	 * @param sql
	 *            String
	 */
	public Liternal(String sql) {
		super();
		this.sql = sql;
	}

	/**
	 * Default constructor.
	 * 
	 * @param format
	 *            String
	 * @param args
	 *            Object...
	 */
	public Liternal(String format, Object... args) {
		this(String.format(format, args));
	}

	@Override
	public String toString() {
		return sql;
	}

	/**
	 * @return the sql
	 */
	public String getSql() {
		return sql;
	}

	/**
	 * @param sql
	 *            the sql to set
	 */
	public void setSql(String sql) {
		this.sql = sql;
	}

}